/*
 * Product
 * 
 * Project: SSM
 * 
 * Copyright 2010 by HBASoft
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of HBASoft. ("Confidential Information"). You
 * shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license
 * agreements you entered into with HBASoft.
 */
package com.mimi.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.URL;

import com.mimi.core.AbstractActiveCodeOLObject;

@Entity
@Table(name = "tbl_fpt_setting")
public class FtpSetting extends AbstractActiveCodeOLObject {
	private static final long serialVersionUID = 242255088169346711L;
	private String fptHostname;
	private String fptUser;
	private String fptPasswd;
	private String fptDirectory;
	private String sendEmailAddress;
	private String receiveEmailAddress;

	@Column(name = "fpt_host_name", length = 128)
	@URL
	public String getFptHostname() {
		return fptHostname;
	}

	public void setFptHostname(String fptHostname) {
		this.fptHostname = fptHostname;
	}

	@Column(name = "fpt_user", length = 40)
	public String getFptUser() {
		return fptUser;
	}

	public void setFptUser(String fptUser) {
		this.fptUser = fptUser;
	}

	@Column(name = "fpt_passwd", length = 40)
	public String getFptPasswd() {
		return fptPasswd;
	}

	public void setFptPasswd(String fptPasswd) {
		this.fptPasswd = fptPasswd;
	}

	@Column(name = "fpt_directory", length = 128)
	public String getFptDirectory() {
		return fptDirectory;
	}

	public void setFptDirectory(String fptDirectory) {
		this.fptDirectory = fptDirectory;
	}
	@Column(name = "send_email_address", length = 128)
	@Email
	public String getSendEmailAddress() {
		return sendEmailAddress;
	}

	public void setSendEmailAddress(String sendEmailAddress) {
		this.sendEmailAddress = sendEmailAddress;
	}
	
	@Column(name = "receive_email_address", length = 128)
	@Email
	public String getReceiveEmailAddress() {
		return receiveEmailAddress;
	}

	public void setReceiveEmailAddress(String receiveEmailAddress) {
		this.receiveEmailAddress = receiveEmailAddress;
	}
}
